//
//  BaseClassTableViewCell.m
//  FAKER
//
//  Created by Jianwei on 15/11/3.
//  Copyright © 2015年 YHLai. All rights reserved.
//

#import "BaseClassTableViewCell.h"
#import "FitHeader.h"

@implementation BaseClassTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self changeColor];
        ADD_NSNOTIFICATIONCENTER_OBSERVER;
    }
    return self;
}

#pragma mark 改变颜色
- (void)changeColor
{
    if (NSUSERDEFAULTS_NIGHT) {
        self.backgroundColor = BGCOLOR_BLACK;
    } else {
        self.backgroundColor = BGCOLOR_WHITE;
    }
}

- (void)createCell
{
    
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
